package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件对象 pj_file
 * 
 * @author kzc
 * @date 2024-03-17
 */
public class PjFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件id */
    private Integer fileId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private Integer fileType;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 所属组件(1走马灯2为推荐两个) */
    @Excel(name = "所属组件(1走马灯2为推荐两个)")
    private String component;

    /** 排序方向 */
    @Excel(name = "排序方向")
    private String sort;

    public void setFileId(Integer fileId) 
    {
        this.fileId = fileId;
    }

    public Integer getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileType(Integer fileType) 
    {
        this.fileType = fileType;
    }

    public Integer getFileType() 
    {
        return fileType;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setComponent(String component) 
    {
        this.component = component;
    }

    public String getComponent() 
    {
        return component;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("filePath", getFilePath())
            .append("component", getComponent())
            .append("sort", getSort())
            .toString();
    }
}
